package com.careercup.question.id20961680;

import java.util.Scanner;

public class Solution {
	/**
	 * find a Min Value in an array
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int min = Integer.MAX_VALUE;
		while(in.hasNext())
			min = Math.min(min, in.nextInt());
		System.out.println(min);
	}
}
